From 5600de5b323de8bf4cd3159075b38c088148cdef Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Thu, 15 Jul 2004 15:14:16 +0000 Subject: [PATCH] bitkeeper revision 1.1097 (40f69f48JEkNJ4Hf1ehGiX4W-rIzKw) Avoid messages of the form: 'INIT: Id "2" respawning too fast: disabled for 5 minutes' --- linux-2.6.7-xen-sparse/drivers/xen/console/console.c | 2 +- tools/python/xen/xend/XendDomainInfo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-2.6.7-xen-sparse/drivers/xen/console/console.c b/linux-2.6.7-xen-sparse/drivers/xen/console/console.c index ff76bab3c6..bea0a44e67 100644 --- a/linux-2.6.7-xen-sparse/drivers/xen/console/console.c +++ b/linux-2.6.7-xen-sparse/drivers/xen/console/console.c @@ -535,7 +535,7 @@ static int xencons_open(struct tty_struct *tty, struct file *filp) unsigned long flags; if ( TTY_INDEX(tty) != 0 ) - return -ENODEV; + return 0; MOD_INC_USE_COUNT; diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 5b6677b197..8e28ed849a 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -136,7 +136,7 @@ def make_disk(dom, uname, dev, mode, recreate=0): """ segments = lookup_disk_uname(uname) if not segments: - raise VmError("vbd: Segments not foundXXXXXX: uname=%s" % uname) + raise VmError("vbd: Segments not found: uname=%s" % uname) if len(segments) > 1: raise VmError("vbd: Multi-segment vdisk: uname=%s" % uname) segment = segments[0] -- 2.30.2